package com.woniuxy.java106crm.service;

import com.woniuxy.java106crm.entity.DataDictionary;
import com.woniuxy.java106crm.vo.GradeVo;

import java.util.List;

public interface DictionaryService {
    //根据类型查询数据库字典
    List<DataDictionary> findDataDictByType(String type);

    //添加基础数据
    Boolean addData(DataDictionary dataDictionary);

    //修改基础数据
    Boolean editData(DataDictionary dataDictionary);

    //删除基础数据
    Boolean delData(Integer id);

    //批量删除
    Boolean putchDel(String ids);

    //查询所有客户等级
    List<GradeVo> getGrade();
}
